<?php declare(strict_types=1);


namespace PinWuYun\domain\models;

use Illuminate\Database\Capsule\Manager;
use Illuminate\Database\Eloquent\Model;

/**
 * Created: by zhiJie
 * Date: 2021/7/1
 */
class GoodsSkuRelationModel extends Model
{
    protected $table = 'goods_sku_relation';

    public function saveAll(array $data): bool
    {
        return Manager::table($this->getTable())->insert($data);
    }
}